/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.ac.iie.di.cst.lls.util;

/**
 *
 * @author wanglin
 */
public class DataInfo {

    private String topic = null;
    private byte[] body = null;

    public DataInfo(String top, byte[] b) {
        topic = top;
        body = b;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
    
}
